﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    Async="true" CodeFile="ggquick.aspx.cs" Inherits="car_insurance_ggquick"
    MaintainScrollPositionOnPostback="true" EnableEventValidation="true" ValidateRequest="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<title><%=GetGlobalResourceObject("CarInsurance", "QuickGGTitle")%></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpHeader" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpBody" runat="Server">
    <div class="body">
        <div class="top">
        </div>
        <div class="body">
            <div class="padding_lr15px">
                <div class="col_content">
                    <div class="top">
                    </div>
                    <div class="body">
                        <!-- Column Content | Start -->
                        <div class="padding_lr30px">
                            <asp:UpdateProgress AssociatedUpdatePanelID="uplCar" DisplayAfter="100" runat="server"
                                ID="upgCar">
                                <ProgressTemplate>
                                    <img src="/images/loader/small_loading.gif" alt="Loading..." /><br />
                                </ProgressTemplate>
                            </asp:UpdateProgress>
                            <asp:UpdatePanel ID="uplCar" runat="server">
                                <ContentTemplate>
                                    <asp:HiddenField ID="hidCarMake" runat="server" />
                                    <asp:HiddenField ID="hidCarMakeFull" runat="server" />
                                    <asp:HiddenField ID="hidCarModel" runat="server" />
                                    <div>
                                        <asp:LinkButton ID="lbnSelCarMake" runat="server" CssClass="formButtons" OnClick="lbnSelCarMake_Click"></asp:LinkButton>&nbsp;&nbsp;&nbsp;
                                        <asp:LinkButton ID="lbnSelCarModel" runat="server" CssClass="formButtons" OnClick="lbnSelCarModel_Click"></asp:LinkButton>
                                    <br /><br />
                                    </div>
                                    <h3><asp:Label ID="lblPageHeader" runat="server" Text='<%$Resources:CarInsurance,QuickGGTitle%>'></asp:Label></h3>
                                  
                                    <%--CarMake--%>
                                    <div id="divCarMake" runat="server">
                                        
                                        <h3>
                                            <asp:Label ID="lblMakeHead" runat="server" Text=""></asp:Label></h3>
                                        <div>
                                            <asp:Label ID="lblMakeDetail" runat="server" Text='<%$Resources:CarInsurance,CarMakeDetail%>'></asp:Label></div>
                                        <div>
                                            <asp:Label ID="lblGGRcmn" runat="server" Text='<%$Resources:CarInsurance,GGRecommend%>'></asp:Label><div>
                                                <div>
                                                    <asp:Label ID="lblGGRcmnDetail" runat="server" Text='<%$Resources:CarInsurance,GGRecommendDetail%>'></asp:Label><div>
    
    <h3>
        <asp:Label ID="lblChooseMake" runat="server" Text='<%$Resources:CarInsurance,ChooseCarMake%>'></asp:Label></h3>
    <br />
    <div>
        <asp:Repeater ID="rptCarMake" runat="server" OnItemDataBound="rptCarMake_ItemDataBound"
            OnItemCommand="rptCarMake_ItemCommand">
            <HeaderTemplate>
            </HeaderTemplate>
            <ItemTemplate>
                <div class="rowResult">
                    <asp:LinkButton ID="lbnCarmake" runat="server" CommandName="carmake" Text='<%# DataBinder.Eval(Container.DataItem, "MakeDesc")%>'></asp:LinkButton>
                    <asp:Label ID="lblMakeCode" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "MakeCode")%>'
                        Style="display: none;"></asp:Label>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <%--EndCarMake--%>
                                    <%--****************************--%>
                                    <%--CarModel--%>
                                    <div id="divCarModel" runat="server" style="display: none;">
                                        <h3>
                                            <asp:Label ID="lblModelHead" runat="server" ></asp:Label></h3>
                                        <div>
                                            <asp:Label ID="lblModelDesc" runat="server"></asp:Label>
                                            
                                        </div>
                                        <h3>
                                            <asp:Label ID="lblChooseModel" runat="server" Text='<%$Resources:CarInsurance,ChooseCarModel%>'></asp:Label></h3>
                                        <br />
                                        <div>
                                            <asp:Repeater ID="rptCarModel" runat="server" OnItemDataBound="rptCarModel_ItemDataBound"
                                                OnItemCommand="rptCarModel_ItemCommand">
                                                <HeaderTemplate>
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <div class="rowResult">
                                                        <asp:LinkButton ID="lbnCarModel" runat="server" CommandName="carmodel" Text='<%# DataBinder.Eval(Container.DataItem, "CarModelDesc")%>'></asp:LinkButton>
                                                        
                                                    </div>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                    <%--EndCarModel--%>  
                                    <%--****************************--%>
                                    <%--CarYear--%>
                                    <div id="divCarYear" runat="server" style="display: none;">
                                        <%--<h3>
                                            <asp:Label ID="lblYearHead" runat="server" Text='<%$Resources:CarInsurance,ChooseCarYear%>'></asp:Label></h3>--%>
                                        <div>
                                            <asp:Label ID="lblYearDesc" runat="server" Text='<%$Resources:CarInsurance,CarYearDetail%>'></asp:Label></div>
                                        <h3>
                                            <asp:Label ID="lblChooseYear" runat="server" Text='<%$Resources:CarInsurance,ChooseCarYear%>'></asp:Label></h3>
                                            <br />
                                        <div>
                                            <asp:Repeater ID="rptCarYear" runat="server" OnItemDataBound="rptCarYear_ItemDataBound"
                                                OnItemCommand="rptCarYear_ItemCommand">
                                                <HeaderTemplate>
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <div class="rowResult">
                                                        <asp:LinkButton ID="lbnCarYear" runat="server" CommandName="caryear" Text='<%# DataBinder.Eval(Container.DataItem, "YearGroup")%>'></asp:LinkButton>
                                                         <asp:Label ID="lblCarYear" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "YearGroup")%>'
                                                    Style="display: none;"></asp:Label>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                    <%--EndCarYear--%>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                    </div>
                    <div class="bottom">
                    </div>
                </div>
                <!-- Column Right | Start -->
                <div>
                    <div id="Hotline" style="text-align: center; float: right; padding-left: 15px;">
                        <asp:Image ID="imgBanner" runat="server" ImageUrl="<%$Resources:ImageResource,PaymentStepUrl%>"
                            AlternateText="Payment" />
                    </div>
                </div>
                <!-- Column Right | End   -->
            </div>
        </div>
        <div class="bottom">
        </div>
    </div>
</asp:Content>
